<?php

namespace IDock\Insurance\ZMBX\Request;

use IDock\Insurance\ZMBX\Response\ValidateCarResponse;
use IDock\Visitor\ValidateCarVisitor;

class ValidateCarRequest extends AllZMBXRequest
{
    public $route = 'VehicleCodeQuery.do';
    public $requestCode = 'VehiclecodeQuery';

    protected $response = ValidateCarResponse::class;

    protected $urlTip = '验车码接口';

    /*** @var  ValidateCarVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        $this->setZMBXToken($this->visitor->argc);

        return [
            'vehicleDate' => date('Y-m-d')
        ];
    }


}
